<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>二维码</title>
    <style>
        *{
            margin:0;
            padding:0;
        }
        body{
            font-size:1em;
        }
        #span{
            text-align: center;
            font:2em/2.3em "Hiragino Sans GB";
        }
    </style>
</head>
<body>
<div id="span"></div>
<script type="text/javascript">
    var span = document.getElementById('span');
	var u = navigator.userAgent, app = navigator.appVersion;
    var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1; //g
    var isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
    if (isAndroid) {
        window.location.href = 'http://zhushou.360.cn/detail/index/soft_id/3287514?recrefer=SE_D_%E6%9C%A8%E6%8A%95%E5%95%86%E5%9F%8E';
    }
    if (isIOS) {
        span.innerHTML = "请点击右上方按钮，选择原生浏览器查看";
        window.location.href = 'itms://itunes.apple.com/cn/app/mu-tou-shang-cheng-mu-cai/id1089033655?mt=8';
    }
</script>
</body>
</html>